<include file="Public/min-header"/> <!--引入 js css img 文件-->
<link href="__PUBLIC__/css/page.css" rel="stylesheet" type="text/css"> <!--引入分页css 文件-->
</head>
<body>
<!--导航  start //-->
<include file="Public/header"/>  <!--引入头部导航  //-->
<!--导航 End  //-->

<div id="main">
    <!--右边菜单-->
    <include file="Article/menu"/>
    <!--右边菜单End-->
    <div class="mainfr-box">
        <div class="place">
            <span>当前位置：</span>
            <ul class="placeul">
                <li><a href="__ROOT__/User/index.html">首页 »</a></li>
                <li><a href="__ROOT__/Article/outbox.html">己发邮件列表</a></li>
            </ul>
            <ul class="placeula">
                <li><a href="javascript:location.reload()"><span class="placea"></span>刷新</a></li>
                <li><a href="javascript:history.go(-1)"><span class="placea"></span>返回上一页</a></li>
            </ul>
        </div>

        <div class="clr"></div>
        <div class="formbody">
            <ul class="seachform Inquire-main">
                <form method="post">
                    <li><label>标题查询</label><input name="title" type="text" class="scinput"/></li>
                    <li>
                        <div class="vocation">
                            <select class="select3" name="type" style="border:solid #F0DCBE 1px;height: 35px;">
                                <option value="">--状态选择--</option>
                                <option value="1">待回复</option>
                                <option value="2">己回复</option>
                            </select>
                        </div>
                    </li>
                    <li><label>&nbsp;</label><input type="submit" class="scbtn1" value="查询"/></li>
                </form>
            </ul>
        </div>
        <div class="clr"></div>
        <table class="Inquire-table2">
            <tr>
                <th>ID</th>
                <th>邮件标题</th>
                <th>留言时间</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            <foreach name="list" item="val">
                <tr>
                    <td>{$val['id']}</td>
                    <td>{$val['title']}</td>
                    <td>{$val['zf_time']|date="Y-m-d H:i:s",###}</td>
                    <td>
                        <switch name="val.type">
                            <case value='1'>待回复</case>
                            <case value='2'>己回复</case>
                        </switch>
                    </td>
                    <td>
                        <if condition="$val.type eq 2"><a href="__CONTROLLER__/replydetail/id/{$val['id']}">查看回复</a>｜
                        </if>
                        <a href="__CONTROLLER__/delMessage/id/{$val['id']}" onclick="return confirm('确认删除吗  否则请取消？');"><b style="color:red">删除</b></a>
                    </td>
                </tr>
            </foreach>
        </table>
        <div class="pages">
            <div align="right">{$page}</div>
        </div>
    </div>
</div>
<!--foot-->
<div class="clr"></div>
<!--footer start //-->
<include file="Public/footer"/> <!--引入底部 //-->
<!--footer  end //-->
</body>
</html>